package online.sixfish.question.service;

import online.sixfish.judger.pojo.*;

import java.util.List;

public interface JudgeService {

    TestResult matchJudge(TestPack testPack);

    TestResult normalJudge(TestPack testPack);

    TestResult doJudge(TestPack testPack);

    List<TestSample> getTestSamples(long id);

    boolean saveSubmitRecord(SubmitRecord submitRecord);

    void updateExperienceAndLevel(long qid,long id);


    TestResult judgeProgram(JudgeProgramReq judgeProgramReq);

    TestResult judgeMatchProgram(JudgeProgramReq judgeProgramReq, String matchId);
}
